USE [DCSDownloadHistoryDB]
GO

/****** Object:  PartitionFunction [pf_PRLMessage]    Script Date: 01/17/2011 17:05:20 ******/
CREATE PARTITION FUNCTION [pf_PRLMessage](datetime) AS RANGE RIGHT FOR VALUES (N'2011-02-01T00:00:00.000', N'2011-03-01T00:00:00.000', N'2011-04-01T00:00:00.000', N'2011-05-01T00:00:00.000', N'2011-06-01T00:00:00.000', N'2011-07-01T00:00:00.000', N'2011-08-01T00:00:00.000', N'2011-09-01T00:00:00.000', N'2011-10-01T00:00:00.000', N'2011-11-01T00:00:00.000', N'2011-12-01T00:00:00.000')
GO


USE [DCSDownloadHistoryDB]
GO

/****** Object:  PartitionScheme [ps_PRLMessage]    Script Date: 01/17/2011 17:04:26 ******/
CREATE PARTITION SCHEME [ps_PRLMessage] AS PARTITION [pf_PRLMessage] TO ([PRLMessage01], [PRLMessage02], [PRLMessage03], [PRLMessage04], [PRLMessage05], [PRLMessage06], [PRLMessage07], [PRLMessage08], [PRLMessage09], [PRLMessage10], [PRLMessage11], [PRLMessage12])
GO


